<template>
  <div class='advertise'>
    <img v-for="(item, index) in listData" :key="index" :src="item.img" alt="">
  </div>
</template>
<script>
export default {
  props:['imgData'],
  components: {},
  name: "",
  data() {
    return {
      listData:[
        {
          img:require('../../assets/imgs/homepage/advertise/advertise.png')
        },{
          img:require('../../assets/imgs/homepage/advertise/advertise.png')
        }
      ]
    };
  },
  computed:{
    formaltList(){
      return this.imgData||this.listData
    }
  },
  methods: {},
  created() {}
};
</script>
<style lang="scss" scoped>
.advertise {
  display: flex;
  justify-content: space-between;
  padding-bottom: 30px;

  img{
    width: calc(50% - 10px);
  }
}
</style>